import React from 'react'
import { Button, SearchBar, Space, Toast,Swiper } from 'antd-mobile'
import { CapsuleTabs } from 'antd-mobile'
import {Navigate, useNavigate} from 'react-router-dom'
function home() {
  
  return (
    <div>
      <SearchBar placeholder='请输入内容' />
      
      <CapsuleTabs>
          <CapsuleTabs.Tab title='酒店' key='fruits'>
            
          </CapsuleTabs.Tab>
          <CapsuleTabs.Tab title='机票' key='vegetables'>
            
          </CapsuleTabs.Tab>
          <CapsuleTabs.Tab  title='火车票' key='animals' >
       <Navigate to='/chart'></Navigate>
          </CapsuleTabs.Tab>
        </CapsuleTabs>
    </div>
  )
}

export default home